package com.campus.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.common.core.Result;
import com.campus.model.TManagerTeacher;
import com.campus.model.dto.TManagerTeacherCreateDto;
import com.campus.model.dto.TManagerTeacherUpdateDto;
import com.campus.model.dto.TManagerTeacherUserCreateDto;
import com.campus.model.vo.TeacherSelectVo;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;

public interface IManagerTeacherService extends IService<TManagerTeacher> {

    public Integer createTeacher(TManagerTeacherCreateDto teacherCreateDto);

    public Integer updateTeacher(TManagerTeacherUpdateDto teacherUpdateDto);

    public TeacherSelectVo selectById(Long id);

    public TeacherSelectVo selectByTeacherName(String teacherName);

    public Integer createManagerTeacher(@RequestBody @Validated TManagerTeacherUserCreateDto createDto);
}
